Skip to content

id(worlds): ship playable Burrow guest for burrow/detour-to-exit - #14453

Merged
developing-today-fleet[bot] merged 5 commits into
mainfrom
felix/13603-burrow-guest
Nov 24, 2026
Merged

developing-today-fleet[bot] merged 5 commits into
mainfrom
felix/13603-burrow-guest

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Refs #13603. Do not merge yet: the guest and all source work are complete and the guest build is verified remotely, but the host replay suite cannot compile until #14315 (the 2026-11-24 grouped cargo bump) lands — see Verification.

What is new

  • pkgs/id/examples/roc-burrow/: main.roc on the pinned Roc platform (Plaza ABI v1 entry points, no new SDK), build.sh (pinned roc-toolchain guard, wasm-opt plus strip plus validate), README.md, and the checked-in import-free burrow.wasm.
  • Guest semantics: 4x3 board, digger at (0,1), soil at (1,1), (2,1), (2,2), rock at (3,1), exit at (3,2). Dig enters orthogonally adjacent soil and clears it exactly once; the rock is impassable (blocked-rock); the exit accepts entry only once three clears are banked (blocked-exit before, escaped after). Host (participant 0) events are ignored; the event tag is host journal deduplication metadata and the guest does not read it. records and snapshot publish the same domain document (digger, soil, cleared_count, phase, outcome); the view is a semantic text grid (A digger, s soil, # rock, X exit, . open floor) with remaining soil and quota as text.
  • Host tests checked_in_burrow_replays_detour_to_exit and checked_in_burrow_snapshot_restore_and_scope_distinctions (crates/id-worlds/src/sandbox.rs, the roc-mind-map placement): the five-step literal vector from app-vectors.json replayed through the regular host, snapshot restored into a fresh instance with the next operations compared, and the scope distinctions asserted (host events, view vs records keys, unexercised refusals). Expected states are literal copies of the vector projections, never derived from the guest.
  • Registration: scripts/rebuild-roc-examples.sh and the tests/toolchain_pin.rs example list (9 to 10). Book coverage: first-apps.md (10 to 11 apps), guests-and-shells.md, development/add-a-guest.md.
  • Cells (id(worlds): implement the bounded Cells glider as a playable Plaza guest #13558) untouched. No new dependencies.

Verification

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-24T15:50:09Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "c11f41086f57d626be7eb582763b721f8f557408"
    },
    "auth_subject": "felix",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

felix added 3 commits November 24, 2026 15:05
Roc guest in examples/roc-burrow on the Plaza ABI v1 platform: dig clears
adjacent soil exactly once, the rock is impassable, the exit opens only
after three clears. records and snapshot publish the same domain
document; the view is a semantic text grid.

Host load/play fixture tests/burrow_host_play.rs replays the five-step
literal vector from app-vectors.json through id::sandbox, with
snapshot-restore and next-operation comparison. Registration in
scripts/rebuild-roc-examples.sh and tests/toolchain_pin.rs; book
coverage in first-apps, guests-and-shells and add-a-guest (11 Roc apps).

The checked-in burrow.wasm follows in a separate commit once the remote
build produces it.
…13603)

Built remotely on GitHub-hosted runners (fleet-command run 45424814764)
with Roc nightly-2026-10-04-130536d, the version pinned in
pkgs/id/nix/roc-version; wasm-tools validate confirms the import-free
module. 179372 bytes.
Move the host load/play fixture into crates/id-worlds/src/sandbox.rs,
the roc-mind-map precedent for Roc guests: the facade-level integration
test cannot build while #14315 keeps id-cli unbuildable on main, while
the sandbox suite needs only id-worlds. Two tests: the five-step
literal-vector replay with the semantic text grid, and
snapshot-restore with the scope distinctions (host events, view vs
records, refusals).
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b0d4e0f7-e921-4af3-9f1c-6aa0b602bd09

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Verification record — task 22715 resume (worker felix), 2026-11-24.

Blockers cleared: #14315 is closed and PR #14325 is merged, so the host replay suite is unblocked. Branch felix/13603-burrow-guest refreshed: merged current origin/main (697fb3bb2) into the branch (merge commit, no conflicts) — new head 50dc87936, pushed.

Remote verification (fleet-command workflow on developing-today/fleet), both on head 50dc87936:

  • Host replay suite — run 45476464300: SUCCESS. cargo test -p id-worlds --features sandbox --lib checked_in (run from pkgs/id): 20 passed / 0 failed (1159 filtered out), including the two Burrow tests:
    • sandbox::tests::checked_in_burrow_replays_detour_to_exit
    • sandbox::tests::checked_in_burrow_snapshot_restore_and_scope_distinctions
  • Toolchain pin — run 45476476036: SUCCESS. cargo test --test toolchain_pin: 10 passed / 0 failed, 0 filtered out.

Note on the first dispatch pair (runs 45474946543 / 45475018568): both failed on invocation context only — cargo ran from the repo root, whose workspace does not contain id-worlds ("cannot specify features for packages outside of workspace" / "no test target named toolchain_pin"). Re-dispatched with cd pkgs/id; both suites pass with no code changes after the main merge.

This PR is ready to merge.

@developing-today-fleet

Copy link
Copy Markdown
Contributor Author

Follow-up to the verification record above: the branch head has since advanced to 4ceea3969 via another origin/main merge. The diff 50dc87936..4ceea3969 touches 7 files (pm-stack aggregator tests + machine registry) and no files under pkgs/id, so the verification on 50dc87936 (runs 45476464300 + 45476476036, both success) covers the current head for everything this PR changes.

@developing-today-fleet
developing-today-fleet Bot merged commit 80dcf6c into main Nov 24, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the felix/13603-burrow-guest branch November 24, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

id(worlds): ship playable Burrow guest for burrow/detour-to-exit

1 participant